body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, sinput, p, blockquote, th, td {
  margin: 0;
  padding: 0;
  text-align:left;
  vertical-align:bottom;
}

html
{
  height: 100%;
  width: 100%;
}

body
{
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1em;
  width: 100%;
  height: 100%;
  background-color: #e5e5e5;
}

h1
{
  font-size:1.5em;
  font-style: normal;
  font-weight: bold;
}

h2
{
  font-size:0.9em;
  font-style: italic;
  font-weight: bold;
  text-align:center;
  padding-top:2px;
  height:20px;
  background-image: url(../images/head.png);
  background-repeat: repeat-x;
  color: #ffffff;
}

p
{
  text-align:left;
}

p.image
{
  margin-top:5px;
  margin-bottom:5px;
  text-align:center;
}
p.panel
{
  margin-top:5px;
  margin-bottom:5px;
  padding-left:5px;
  padding-left:5px;
  text-align:left;
}

#wrapper
{
  margin-left:auto;
  margin-right:auto;
  margin-top:10px;
  width:800px;
}

#page
{
  padding-left:10px;
  padding-right:10px;
  padding-top:10px;
  padding-bottom:20px;
  width:800px;
  border-top-style: solid;
  background-color:#ffffff;
  border-bottom-style: solid;
  border-left-style: solid;
  border-right-style: solid;
  border-top-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;
  border-right-width: 1px;
}

#header
{
  height:50px;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 10px;
  padding-right: 10px;
}

#main
{

}

#leftpanels
{
  float:left;
}

#rightpanels
{
  float:right;
}

#panel
{
  background-color:#ccccff;
}

#panel.imagepanel
{
  clear:both;
  float:left;
  width:340px;
}

#robotimage
{
  background-color:white;
  margin-left:9px;
  margin-right:9px;
  margin-top:9px;
  margin-bottom:9px;
  border-top-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;
  border-right-style: solid;
  border-top-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;
  border-right-width: 1px;
  border-top-color: #666666;
  border-bottom-color: #666666;
  border-left-color: #666666;
  border-right-color: #666666;
}
#robotimage img
{
  width:100%;
}

#messages
{
  margin-top:10px;
  margin-bottom:10px;
  background-color:white;
  border-top-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;
  border-right-style: solid;
  border-top-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;
  border-right-width: 1px;
  border-top-color: #666666;
  border-bottom-color: #666666;
  border-left-color: #666666;
  border-right-color: #666666;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 5px;
  padding-right: 5px;
  min-height:15px;
}

#panel.sensorpanel
{
  float:left;
  width:340px;
  margin-left: 25px;
  margin-right:10px;
}

#sensors
{
  min-height:10px;
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: 10px;
  margin-right: 10px;
}

#panel.battery
{
  float:right;
  width:70px;
  height:150px;
}

#battery
{
  height:105px;
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: 10px;
  margin-right: 10px;
  border-top-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;
  border-right-style: solid;
  border-top-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;
  border-right-width: 1px;
  border-top-color: #666600;
  border-bottom-color: #666600;
  border-left-color: #666600;
  border-right-color: #666600;
}
#battery_used
{
  float:none;
  clear:none;
  background-color: #eeeeee;
  border-top-style: none;
  border-bottom-style: none;
  border-left-style: none;
  border-right-style: none;
  margin-top: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
  margin-right: 0px;
}

#battery_unused
{
  float:none;
  clear:none;
  background-color: #33cc00;
  border-top-style: none;
  border-bottom-style: none;
  border-left-style: none;
  border-right-style: none;
  margin-top: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
  margin-right: 0px;
}

#battery_reading
{
  float:left;
  width:50px;
  text-align:center;
  margin-top:50px;
}

#panel.statuspanel
{
  clear:both;
  float:left;
  width:340px;
  margin-top: 10px;
}


#statuses
{
  min-height:10px;
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: 10px;
  margin-right: 10px;
}


#move
{
  float:left;
}

#move_button
{
  text-align:center;
  float:left;
  height:30px;
  width:55px;
}

#move_button input
{
  width:50px;
}

#panel.actionpanel
{
  float:left;
  width:340px;
  margin-top: 10px;
  margin-left: 25px;
}

#actions
{
  min-height:10px;
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: 10px;
  margin-right: 10px;
}

#panel.macropanel
{
  float:left;
  width:340px;
  margin-top: 10px;
  margin-left: 25px;
}

#macros
{
  min-height:10px;
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: 10px;
  margin-right: 10px;
}